import java.util.Arrays;

public class example {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Encryptor encryptor = new Encryptor();
		String inputString = "Independence day";
		char[] input = inputString.toCharArray();
 
		//Interesting int example
		InterestingIntEncrypter intEnc = new InterestingIntEncrypter();
		Integer[] intOutput = new Integer[inputString.length()];
		encryptor.<Integer>encrypt(input, 1, intEnc, intOutput);
		System.out.println(Arrays.toString(intOutput));  
		
		//Interesting char example
		InterestingCharEncrypter charEnc = new InterestingCharEncrypter();
		Character[] charOutput = new Character[inputString.length()];
		encryptor.<Character>encrypt(input, 'a', charEnc, charOutput);
		System.out.println(Arrays.toString(charOutput));  
		
		//Interesting string example
		InterestingStringEncrypter stringEnc = new InterestingStringEncrypter();
		String[] stringOutput = new String[inputString.length()];
		encryptor.<String>encrypt(input, "abc", stringEnc, stringOutput);
		System.out.println(Arrays.toString(stringOutput)); 

	}

}
